sata: dwc_ahsata: implement sata_port_status
authorNikita Kiryanov <[email protected]>
Wed, 20 Aug 2014 12:08:53 +0000 (15:08 +0300)
committerStefano Babic <[email protected]>
Tue, 9 Sep 2014 13:32:32 +0000 (15:32 +0200)
commitdc383dd58300e2430e9ad61f6aced2e2d42d16b7
treec854e90dbc0d89bd3af647c1b26cfb34a9d5cf63
parent52658fda7abc4319ff7f8fe934d2e7c0a32202d7
sata: dwc_ahsata: implement sata_port_status

Define the new common function sata_port_status() which can be
used to query the sata driver for the state of ports, and implement it
for dwc_ahsata.

Cc: Stefano Babic <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Marek Vasut <[email protected]>
Reviewed-by: Marek Vasut <[email protected]>
Signed-off-by: Nikita Kiryanov <[email protected]>
drivers/block/dwc_ahsata.c
include/sata.h